package com.jinzhi.jzweb.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.base.CoreServiceImpl;
import com.jinzhi.jzweb.dao.MsgDao;
import com.jinzhi.jzweb.domain.MsgDO;
import com.jinzhi.jzweb.service.MsgService;
import org.springframework.stereotype.Service;
import java.util.Map;
/**
 * 
 * <pre>
 * 消息表
 * </pre>
 * <small> 2020-05-13 16:09:21 | lance</small>
 */
@Service
public class MsgServiceImpl extends CoreServiceImpl<MsgDao, MsgDO> implements MsgService {

	@Override
	public Page<MsgDO> selMsgPage(int current, int number, Map map) {
		Page<MsgDO> page = new Page<MsgDO>(current , number);
		return page.setRecords(this.baseMapper.selMsgPage(page ,map));
	}
}
